/*
 * @Author: your name
 * @Date: 2021-10-27 09:55:16
 * @LastEditTime: 2021-11-03 16:21:43
 * @LastEditors: Please set LastEditors
 * @Description: In User Settings Edit
 * @FilePath: /egg_ payment/app/router.js
 */
'use strict';

/**
 * @param {Egg.Application} app - egg application
 */
module.exports = app => {
  const { router, controller } = app;
  router.post('/logins', controller.home.logins);
  router.get('/zhifubao', controller.pay.zhifubao);
  router.get('/email', controller.email.index);
  router.post('/upload', controller.upload.aliOss);
  router.post('/removeImage', controller.upload.removeImage);
  router.post('/getAllImage', controller.upload.getAllImage);
};
